/**
 * 
 */
package com.honghao.student.xml;

import java.util.Date;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Xiaohao
 *
 */
@Setter @Getter
@XStreamAlias("user")
public class User {
	@XStreamAsAttribute
	@XStreamAlias("id")
	private int userId;
	@XStreamAlias("username")
	private String userName;
	@XStreamAlias("lastVisit")
	private Date lastVisit;
	private UserLogs logs;
}
